package android.util;

/**
 * Author: doushuqi
 * Date: 15/7/17
 * Time: 下午12:07
 * Email: shuqi.dou@singuloid.com
 */
public abstract class IntProperty<T> extends Property<T, Integer>  {
    /**
     * A constructor that takes an identifying name and {@link #getType() type} for the property.
     *
     * @param name
     */
    public IntProperty(String name) {
        super(Integer.class, name);
    }

    public abstract void setValue(T object, int value);

    @Override
    public void set(T object, Integer value) {
        setValue(object, value);
    }
}
